-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Parallel.parFoldMapA #3147
Add Parallel.parFoldMapA #3147
Conversation
This is a great feature! I wonder though if it would be easier to just place this method straight on the |
It would probably be easier (no extra syntax). I'm a bit out of the loop, though - is this the preferred way to do things at the moment? I put |
Codecov Report
@@ Coverage Diff @@
## master #3147 +/- ##
==========================================
- Coverage 93.28% 93.25% -0.03%
==========================================
Files 376 376
Lines 7323 7327 +4
Branches 195 199 +4
==========================================
+ Hits 6831 6833 +2
- Misses 492 494 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks @nigredo-tori!
I think it probably is best to keep this on Parallel
for consistency. I've made a few comments, but not adding another BinCompatN
trait is the only important one.
Would you mind adding a syntax test to SyntaxSuite
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that it's in the right place where it is. Thanks!
Aka
foldMapA
hoisted through aParallel
.